package com.tedu.account.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.math.BigDecimal;
import java.util.Date;

@Data
@FieldDefaults(level = lombok.AccessLevel.PRIVATE)
public class ExpendVO {
    @ApiModelProperty("支出id")
    Integer id;
    @ApiModelProperty("账户姓名")
    String username;
    @ApiModelProperty("商品Id")
    Integer goodsId;
    @ApiModelProperty("职员Id")
    Integer empId;
    @ApiModelProperty("应收金额")
    BigDecimal amountReceived;
    @ApiModelProperty("实收金额")
    BigDecimal fundsReceived;
    @ApiModelProperty("支付方式")
    String paymentTerm;
    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    Date createTime;
    @ApiModelProperty("更新时间")
    Date updateTime;
    @ApiModelProperty("账户id")
    Integer accountId;
}
